#define MY_CBUF 4096
#if NO_EXPAT
-void
+static void
geo_rd_init(const char *fname)
{
fatal(MYNAME ": This build excluded GEO support because expat was not installed.\n");
}
}
-void
+static void
geo_rd_init(const char *fname)
{
xml_init(fname, loc_map, NULL);
}
-void
+static void
geo_read(void)
{
xml_read();
}
#endif
-void
+static void
geo_rd_deinit(void)
{
xml_deinit();
}
-void
+static void
geo_wr_init(const char *fname)
{
ofd = xfopen(fname, "w", MYNAME);
}
-void
+static void
geo_wr_deinit(void)
{
fclose(ofd);
fprintf(ofd, "</waypoint>\n");
}
-void
+static void
geo_write(void)
{
fprintf(ofd, "<?xml version=\"1.0\"?><loc version=\"1.0\" src=\"EasyGPS\">\n");
{ NULL, 0, NULL}
};
-void
+static void
glogbook_rd_init(const char *fname)
{
xml_init(fname, gl_map, NULL);
}
-void
+static void
glogbook_read(void)
{
xml_read();
}
-void
+static void
glogbook_rd_deinit(void)
{
xml_deinit();
}
-void
+static void
glogbook_wr_init(const char *fname)
{
ofd = xfopen(fname, "w", MYNAME);
}
-void
+static void
glogbook_wr_deinit(void)
{
fclose(ofd);
fprintf(ofd, " </Trackpoint>\n");
}
-void
+static void
glogbook_hdr( const route_head *rte)
{
fprintf(ofd, " <Track>\n");
}
-void
+static void
glogbook_ftr(const route_head *rte)
{
fprintf(ofd, " </Track>\n");
}
-void
+static void
glogbook_write(void)
{
fprintf(ofd, "<?xml version=\"1.0\" ?>\n");
#define MY_CBUF 4096
#if NO_EXPAT
-void
+static void
google_rd_init(const char *fname)
{
fatal(MYNAME ": This build excluded Google Maps support because expat was not installed.\n");
}
-void
+static void
google_read(void)
{
}
}
}
-void
+static void
google_rd_init(const char *fname)
{
desc_handle = mkshort_new_handle();
xml_init(fname, google_map, "ISO-8859-1" );
}
-void
+static void
google_read(void)
{
xml_read();
}
#endif
-void
+static void
google_rd_deinit(void)
{
xml_deinit();
}
#if NO_EXPAT
-void
+static void
gpx_rd_init(const char *fname)
{
fatal(MYNAME ": This build excluded GPX support because expat was not installed.\n");
*cdatalen += len;
}
-void
+static void
gpx_rd_init(const char *fname)
{
if ( fname[0] ) {
psr = NULL;
}
-void
+static void
gpx_wr_init(const char *fname)
{
mkshort_handle = mkshort_new_handle();
route_disp_all(gpx_route_hdr, gpx_route_tlr, gpx_route_disp);
}
-void
+static void
gpx_write(void)
{
time_t now = 0;
xml_init(fname, ht_map, NULL);
}
-void
+static void
hiketech_read(void)
{
xml_read();
}
-void
+static void
hiketech_rd_deinit(void)
{
}
-void
+static void
hiketech_wr_init(const char *fname)
{
ofd = xfopen(fname, "w", MYNAME);
}
-void
+static void
hiketech_wr_deinit(void)
{
fclose(ofd);
#define ATTR_OBJECTNAME "OBJNAM"
#define ATTR_SHIPNAME "shpnam"
-void readVersion4( FILE* pFile);
+static void readVersion4( FILE* pFile);
FILE *fd;
FILE *ofd;
#if NO_EXPAT
-void
+static void
hsa_ndv_rd_init(const char *fname)
{
fatal(MYNAME ": This build excluded HSA Endeavour support because expat was not installed.\n");
}
-void
+static void
hsa_ndv_read(void)
{
}
memcpy(estr, s, len);
}
-void
+static void
hsa_ndv_rd_init(const char *fname)
{
fd = xfopen(fname, "r", MYNAME);
XML_SetCharacterDataHandler(psr, hsa_ndv_cdata);
}
-void
+static void
hsa_ndv_read(void)
{
int len;
#endif
-void
+static void
hsa_ndv_rd_deinit(void)
{
if ( cdatastr ) {
fclose(fd);
}
-void
+static void
hsa_ndv_wr_init(const char *fname)
{
ofd = xfopen(fname, "w", MYNAME);
}
-void
+static void
hsa_ndv_wr_deinit(void)
{
fclose(ofd);
legNum++;
}
-void
+static void
hsa_ndv_write(void)
{
fprintf(ofd, "<?xml version=\"1.0\"?>\n");
#define INVALID_TIME -1L
#define SOUNDARRAY_CHAR 'S'
-int readRecord( FILE* pFile, const char* pRecName, char *recData);
-int readPositionRecord( FILE* pFile, double* lat, double* lng, long* timeStamp);
+static int readRecord( FILE* pFile, const char* pRecName, char *recData);
+static int readPositionRecord( FILE* pFile, double* lat, double* lng, long* timeStamp);
-void readVersion4( FILE* pFile)
+static void readVersion4( FILE* pFile)
{
while( TRUE )
{
}
// read a record to a file
-int readRecord( FILE* pFile, const char* pRecName, char *recData)
+static int readRecord( FILE* pFile, const char* pRecName, char *recData)
{
// get the rec name
int len;
}
// read position
-int readPositionRecord( FILE* pFile, double* lat, double* lng,
+static int readPositionRecord( FILE* pFile, double* lat, double* lng,
long* timeStamp)
{
// read the lat record
#define MYNAME "kml"
#if NO_EXPAT
-void
+static void
kml_rd_init(const char *fname)
{
fatal(MYNAME ": This build excluded KML support because expat was not installed.\n");
}
-void
+static void
kml_read(void)
{
}
}
#endif
-void
+static void
kml_rd_deinit(void)
{
xml_deinit();
}
-void
+static void
kml_wr_init(const char *fname)
{
ofd = xfopen(fname, "w", MYNAME);
}
-void
+static void
kml_wr_deinit(void)
{
fclose(ofd);
mkshort_del_handle(mkshort_handle);
}
-void
+static void
gpgll_parse(char *ibuf)
{
double latdeg, lngdeg;